﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ControlHelper.DataAnnotations
{
    /// <summary>
    /// 创建一个文本区
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class LabelAttribute : Attribute
    {
        public LabelAttribute(string Info="标签")
        {
            info = Info;
        }
        private readonly string info;
        public string Info => info;
    }
}
